package com.xhh.nphm.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Program: hw-zhuanban
 * @ClassName UserOperationLog
 * @Author: liutao
 * @Description: 系统用户操作日志
 * @Create: 2022-08-02 14:53
 * @Version 1.0
 **/
@TableName(value ="tm_user_operation_log")
@Data
public class UserOperationLog {
    @TableId(type = IdType.AUTO,value = "uplogid")
    @TableField("uplogid")
    private Integer upLogId;
    @TableField("loginName")
    private String loginName;
    @TableField("operation")
    private String operation;
    @TableField("log_time")
    private Date log_time;

    public UserOperationLog(String loginName, String operation, Date log_time) {
        this.loginName = loginName;
        this.operation = operation;
        this.log_time = log_time;
    }
}
